<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@ page import="awesome.Manager.UserManager" %>
<%
String username = request.getParameter("username");
String validationID = request.getParameter("validationID");

UserManager um = new UserManager();
%>
	
<%@include file='templates/header.jsp'%>
<%
if(um.validate(username, validationID))
{
%> 
<br />
<h2>Verification Success </h2>
	Your email has been verified! <br />
	You can now <a href="login.jsp">Login</a> to your account.	
<%
}
else
{
%> 
<h2>Verification Failed!</h2>
<% 	
}
%>
<%@include file='templates/footer.jsp'%>